Add missing allow-none annotations
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Fri, 21 Jun 2013 20:02:31 +0000 (16:02 -0400)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Mon, 24 Jun 2013 17:46:56 +0000 (13:46 -0400)
gtk/gtkiconfactory.c

index 7cc1af9fc58f74c0d19954b5807986ea2195fc9c..7dfd8883cd5cfbe5f434d43c6a3f75b13366d034 100644 (file)
@@ -986,8 +986,8 @@ icon_size_lookup_intern (GtkSettings *settings,
  * @settings: a #GtkSettings object, used to determine
  *   which set of user preferences to used.
  * @size: (type int): an icon size
- * @width: (out): location to store icon width
- * @height: (out): location to store icon height
+ * @width: (out) (allow-none): location to store icon width
+ * @height: (out) (allow-none): location to store icon height
  *
  * Obtains the pixel size of a semantic icon size, possibly
  * modified by user preferences for a particular
@@ -1018,8 +1018,8 @@ gtk_icon_size_lookup_for_settings (GtkSettings *settings,
 /**
  * gtk_icon_size_lookup:
  * @size: (type int): an icon size
- * @width: (out): location to store icon width
- * @height: (out): location to store icon height
+ * @width: (out) (allow-none): location to store icon width
+ * @height: (out) (allow-none): location to store icon height
  *
  * Obtains the pixel size of a semantic icon size, possibly
  * modified by user preferences for the default #GtkSettings.